home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Movement of Text.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
1KB
|
66 lines
[SUBJECT]
Description=Movement of text Script
ImageIndex=-1
Folder=Text Effects
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Start script
; var ms = navigator.appVersion.indexOf("MSIE");
; from = `start_position`;
; to = `end_position`;
; moveto = `offset`;
;function move1() {
; if (from > to) {
; if ((ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)) {
; document.all.texte.style.left = (from -= moveto);
; } else {
; document.texte.left = (from -= moveto);
; };
; setTimeout('move1(' + from + ',' + to + ',' + moveto + ')', 75);
; }
;}
;// End script -->
;</script>
[BODY_TAG]
;onLoad="move1()"
[BODY_TEXT]
;<div id="texte" style="text-align:center;font-size:`font_size`pt;font-family:`font_family`;color:`color`;position:relative">`text`</div>
[`start_position`]
Kind=N
Value=600
[`end_position`]
Kind=N
Value=0
[`offset`]
Kind=N
Value=20
[`font_size`]
Kind=N
Value=10
[`font_family`]
Kind=S
Value=Times New Roman
[`color`]
Kind=C
Value=#000000
[`text`]
Kind=S
Value=This text is the preview of your result.